package com.xauto.pioneer.appuser.model;

import org.json.JSONObject;

/**
 * Created by Administrator on 2018/7/23.
 */

public class MonthlyrentRuleCost  extends BaseModel<MonthlyrentRuleCost>  {

    /** 月租详情*/
    public MonthlyRentInfo monthlyRentInfo;
    /** 余额*/
    public CheckoutMemberAccountInfo accountInfo;
    @Override
    public MonthlyrentRuleCost parse(JSONObject jsonObject) {
        if(jsonObject!=null){
            monthlyRentInfo =  new MonthlyRentInfo().parse(jsonObject.optJSONObject("parking_info"));
            accountInfo =  new CheckoutMemberAccountInfo().parse(jsonObject.optJSONObject("member_account_info"));
            return this;
        }
        return null;
    }
}
